package cn.xt.service.house;

import cn.xt.bean.House;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author shkstart
 * @date 2018/11/19-12:48
 */
public interface HouseService {
    //添加发布信息
    public int addHouse(House house);

    //获得最大id
    public int maxHouseId();

    //根据用户id查询全部信息
    public List<House> listHouse(int users_id);

    //根据房屋编号查询房屋信息
    public House houseView(@Param("house_id") int house_id);
}
